home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 August / Macworld (1999-08).dmg / From Macworld Readers / FREE Scripts / FREE Guides / FREE Guide Macintosh / FREE Guide • Macintosh 3.1.sea / FREE Guide • Macintosh 3.1.rsrc / TEXT_159.txt < prev    next >
Encoding:
Text File  |  1998-12-04  |  21.8 KB  |  427 lines

  1.  
  2.  
  3.  
  4.  
  5. PARALLEL PORTS & SLOTS
  6.  
  7.  
  8.  
  9. A parallel port uses a separate wire for each bit of data ‚Äî hence an 8-bit link requires at least eight wires. This makes it very fast but also unsuitable for long distances.
  10.  
  11.  
  12.  
  13.  
  14. Small Systems Computer Interface
  15. qqqqqqqqqqqqqqqqqqqqqqqqq
  16.  
  17.  
  18. The basic form of SCSI is defined in the American National Standards Institute (ANSI) standard X3T9.2. This 8-bit parallel port can be used to connect computers to disk drives or other high-speed peripherals. It can use single-ended (unbalanced) or differential (balanced) circuits with a maximum cable length of 6 and 25 metres respectively. 
  19.  
  20.  
  21.  
  22. Connections and Cables
  23. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  24.  
  25. Most SCSI devices use 50 way Amphenol connectors (C50), with plugs on cables and sockets on equipment. Some Macs and other devices use a 25 way D connector (DB25) or 30 way miniature connector (HDI-30) instead. This may necessitate an adaptor cable ‚Äî two if an odd device is in the middle of the SCSI chain!
  26.  
  27. The following alternative connectors are in use:-
  28.  
  29.  
  30.               Equipment                      Connector Type                                              
  31.  
  32.               PowerBook                      30 way miniature socket (HDI-30)
  33.               Compact Mac                  25 way D socket (DB25) ‚Ä¢
  34.               SCSI device                     25 way D socket or flying 25 way D plug ‚ó䠂Ģ
  35.               SCSI-2 device                  50 way micro D socket (HC50)
  36.               Wide SCSI-2 device          68 way micro D socket (HC68) ‚àÜ   
  37.  
  38.                ‚óä Suitable for direct connection to the DB25 on a compact Mac
  39.                ‚Ä¢ DO NOT plug any other type of serial interface into this connector 
  40.                ‚àÜ  For maximum speed you must use a complete chain of Wide SCSI-2 devices 
  41.  
  42.  
  43.  ?         Some PowerMacs have dual ports.
  44.  
  45.  
  46.  
  47. SCSI Speed
  48. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  49.  
  50. SCSI accommodates any speed up to 4 megabytes per second (MB/s), although in practice many Macs can only run at 1 MB/s or less. In some cases the disk drives are faster than the SCSI port! Here are some examples of speed ratings for various Macs:-
  51.  
  52.  
  53.               Model                              Speed (MB/s) 
  54.  
  55.               Mac Classic:                    1
  56.               Mac IIci:                          1.5
  57.               Quadra:                           3 to 5
  58.               PowerMac (External):         5
  59.               PowerMac (Internal):        10
  60.  
  61.  
  62.  
  63. SCSI ID Numbers
  64. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  65.  
  66. SCSI acts as a data bus, accommodating up to 8 devices. Only one of these devices can be a controller, usually the Mac‚Äôs processor. Each device has to be assigned a unique SCSI ID (identification) number.
  67.  
  68. The Mac uses the following numbers:-
  69.  
  70.               Item                     SCSI ID  
  71.  
  72.               Processor               7 
  73.               Internal Drive        0 
  74.               Other Devices         1 to 6 
  75.  
  76.  
  77. ?        A second internal drive is usually assigned an ID = 1. 
  78.  
  79. ?         The highest ID gives the highest priority ‚Äî an important drive should have an ID = 6. 
  80.  
  81. ?         A device with an ID = 0 is assumed to be the internal drive and is given the highest 
  82.         priority at startup ‚Äî followed by ID = 6 and so on.
  83.  
  84. ?        Some applications give each device a software ID that‚Äôs kept in a Preferences or 
  85.        Settings file. A drive won‚Äôt auto-mount if this ID isn‚Äôt the same as on the device itself. 
  86.  
  87. ?        Older drives, originally used as internal drives, may only work with an ID = 0. 
  88.  
  89. ?        PowerBooks that include an internal slot for a CD-ROM or alternative drive can 
  90.        only use six external ID numbers.
  91.  
  92.  
  93.  
  94. SCSI Termination
  95. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  96.  
  97. Most SCSI systems need to have a terminator fitted at some point (or points) in the chain. A pass-through terminator has a plug and socket, allowing it to be fitted in the middle of the chain. A block terminator has just a plug and can only be fitted at the end of the chain. Some devices have an internal terminator built in (see below).
  98.  
  99. The first device (or the point where the system cable from the Mac is extended) and last device in a SCSI chain must be terminated, either internally or externally.
  100.  
  101. ?        There must only be two terminators in a chain ‚Äî two's company, three's a crowd! 
  102.  
  103. ?        Some devices (and plugs) include active termination to  automatically adjust 
  104.        termination as necessary ‚Äî but they don‚Äôt always work! 
  105.  
  106. ?        The Mac IIfx has a fast SCSI port that uses a special black terminator that can‚Äôt be used 
  107.        on other models. Standard internal terminators shouldn‚Äôt be used with a IIfx.
  108.  
  109. ?        Sometimes you can break the rules to make SCSI work! For example, try a terminator 
  110.        in the middle of a  chain, with or without a terminator on the last device.   Changing 
  111.        the sequence of devices in a chain can sometimes solve problems.
  112.  
  113. √Ö   Incorrect termination can prevent the internal drive  from mounting 
  114.        ‚Äî except on models that include  extra buffers for the external SCSI port(s).
  115.  
  116.  
  117. Internal Terminators                                                                                                
  118.  
  119. Some SCSI equipment may incorporate an internal terminator. If such a device has a single socket it‚Äôs best placed at the end of the SCSI chain. 
  120.  
  121. In some cases an external switch lets you disable the termination. If not, you may be able to remove the terminators from inside the device ‚Äî they usually consist of three 8-pin packages in a line. Trouble is, you have to look inside to see if they‚Äôre really there! Once removed, the device must go in the middle of the chain or be externally terminated.
  122.  
  123. ¬∞     Always observe precautions concerning static electricity.
  124.  
  125. √Ö     If  you‚Äôre in doubt about what you‚Äôre doing ‚Ķ don‚Äôt do it! 
  126.  
  127. √Ö     If you really want to replace internal terminators note which way round they go!  
  128.  
  129. ?        Don‚Äôt put back removed internal terminators ‚Äî it‚Äôs easier to use external ones! 
  130.  
  131.  
  132.  
  133. SCSI Problem Solving
  134. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  135.  
  136. Slow data transfer or data errors can be caused by damaged cables ‚Äî although such damage is rarely obvious. The metallic shield under the cable‚Äôs outer layer, known as the screen, is particularly important. 
  137.  
  138. Other causes include:-
  139.  
  140.             z   A need to restart the Mac
  141.             z    Problem with PRAM
  142.             z    Electrical noise from monitors, power supplies or fluorescent lights
  143.             z    Inadequate power supply inside Mac or box containing the drive
  144.             z    Insufficient Mac memory
  145.  
  146. ?       If your Mac shows a flashing ? or a Sad Mac try restarting with the SCSI cable 
  147.        unplugged from the Mac. There could be any number of causes!  
  148.  
  149. ?       Make sure there aren‚Äôt any SCSI system extensions that conflict with each other  
  150.        ‚Äî use only one extension, if possible.
  151.  
  152.  
  153. Powering-up Devices                                                                                               
  154.  
  155. It‚Äôs best to power external drives before starting a Mac. In practice, switching everything on together rarely causes problems ‚Äî but a CD-ROM drive should always be switched on first.  
  156.  
  157. If you power-up in the wrong order some drives won‚Äôt auto-mount, or you may get a slow display or a freeze. You can use SCSIProbe or similar to mount any awkward drives.
  158.  
  159. ?        An unpowered device can prevent startup ‚Äî it depends on the location in the chain, 
  160.        whether it‚Äôs terminated and  whether the Mac has buffers for its external  SCSI port.   
  161.  
  162.  
  163. Cable Lengths                                                                                                       
  164.  
  165. The SCSI cable length limitations can be very inconvenient ‚Äî in working out the total length of a SCSI chain you must also include the length of cable inside each box! For standard single-ended SCSI the maximum distance is 6 metres.
  166.  
  167. For longer distances you can use a SCSI regenerator ‚Äî this also lets you disconnect a portion of a SCSI chain without disrupting the entire system. For distances of up to 25 metres, or possibly more, you can use a converter to change the signal into differential form. For runs up to 300 metres you can use a pair of fibre-optic converter boxes.
  168.  
  169. ?         High-speed digital audio processing systems may need cables as short as one metre.
  170.  
  171.  
  172.  
  173. SCSI-2
  174. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  175.  
  176. SCSI-2 employs an improved protocol that operates at up to 5 MB/s and is fully compatible with standard SCSI (SCSI-1). SCSI-2‚Äôs data rate can be increased still further by using either or both of the following:-
  177.  
  178.  
  179. Fast SCSI                                                                                                              
  180.  
  181. This is used in recent PowerMacs and works at up to 10 MB/s ‚Äî but you may have to replace standard SCSI cables by a higher quality product. Fast SCSI devices may be fitted with 50 way micro D sockets (HC50).
  182.  
  183.  
  184. Wide SCSI                                                                                                             
  185.  
  186. In Wide SCSI the bus width is expanded from 8 bits to 16 or 32 bits, providing speeds of 20 and 40 MB/s respectively. Such devices come with 68-pin sockets to accommodate the extra wires ‚Äî if you use an adaptor cable to connect to a 50 way Amphenol connector you won‚Äôt get the maximum speed! Wide SCSI also uses active termination to make things easier. As with Fast SCSI, you should use a high quality cable.
  187.        
  188. Fast and Wide SCSI can be added to a Quadra by fitting a suitable accelerator card into the Processor Direct Slot.
  189.  
  190.  
  191.  
  192. SCSI-3
  193. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  194.  
  195. Yet another protocol! 16 bit Wide SCSI-3 works at up to 20 MB/s whilst Ultra SCSI-3 runs at up to 40 MB/s. The latter can be fitted to a PowerMac by means of a suitable PCI card.
  196.  
  197.  
  198.  
  199. Pin Connections
  200. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  201.  
  202. The following list shows the pin connections for a single-ended interface via C50 socket (or ribbon connector inside a Mac) and for a DB25 socket:-
  203.  
  204.  
  205.                50 Way  25 Way      Function              50 Way  25 Way      Function              
  206.  
  207.               1             7            Ground                26           25           TERMPWR (+ 5V)
  208.               2             8            DB0                       27            -            Ground
  209.               3             9            Ground                28             -            Ground
  210.               4             21           DB1                       29            -            Ground
  211.               5             14          Ground                30             -            Ground
  212.               6             22          DB2                       31             -            Ground
  213.               7             16          Ground                32           17            NATN
  214.               8             10          DB3                       33             -            Ground
  215.               9             18          Ground                34             -            Ground
  216.               10            23          DB4                       35             -            Ground
  217.               11         24             Ground                36            6            NBSY
  218.               12           11           DB5                       37              -            Ground
  219.               13            -            Ground                38            5            NACK
  220.               14           12           DB6                       39             -            Ground
  221.               15            -            Ground                40            4             NRST
  222.               16           13           DB7                       41             -              Ground
  223.               17            -            Ground                42            2             NMSG
  224.               18         20             DB Parity            43             -            Ground
  225.               19            -            Ground                44            19          NSEL
  226.               20            -            Ground                45             -            Ground
  227.               21            -            Ground                46            15             NC/D
  228.               22            -            Ground                47             -               Ground
  229.               23            -            Ground                48            1            NREQ
  230.               24            -            Ground                49             -               Ground
  231.               25            -            N/C                       50            3              NI/O
  232.  
  233.  
  234. The purpose of the control lines are as follows:-
  235.  
  236.               TERMPWR               +5 volt supply (for external terminator)
  237.               NATN                     (Not) Attention
  238.               NBSY                     (Not) Busy
  239.               NACK                     (Not) Acknowledgement of received data
  240.               NRST                     (Not) Reset
  241.               NMSG                     (Not) Message
  242.               NSEL                      (Not) Select device
  243.               NC/D                     (Not) Control Information, otherwise Data
  244.               NREQ                      (Not) Request to send
  245.               NI/O                      (Not) Input, otherwise Output (indicating data direction)
  246.  
  247.  
  248.  
  249.  
  250. Centronics
  251. qqqqqqqq
  252.  
  253.  
  254. This interface isn‚Äôt supported by the Mac but appears on printers used with PCs. It uses eight data wires as well as control lines. Most printers are fitted with a 36 way Amphenol socket that connects via a printer cable to a 25 way D connector (DB25) on the PC.
  255.  
  256. The Busy and Strobe control lines ensure smooth communication between PC and printer. Many computers contain a Versatile Interface Adaptor (VIA) or Programmable Interface Adaptor (PIA) chip for this interface.
  257.  
  258. The pin connections for a 36 way Amphenol connector are:
  259.  
  260.  
  261.               Pin       Circuit                      Function                                                        
  262.  
  263.               1              (Not) Strobe                   Logic 0 pulse to printer to indicate valid data
  264.               2              Data 0
  265.               3              Data 1
  266.               4              Data 2
  267.               5              Data 3
  268.               6              Data 4
  269.               7              Data 5
  270.               8              Data 6
  271.               9              Data 7
  272.               10            (Not) Acknowledge         Logic 0 pulse from printer indicating readiness
  273.               11            Busy                                   Logic 1 to indicate printer is busy
  274.               12            PE                                      Logic 1 to indicate printer out of paper *
  275.               13            Select                               Logic 1 from printer to indicate on line *
  276.               14            0 volts
  277.               15            Spare
  278.               16            0 volts
  279.               17            Chassis
  280.               18            + 5 volts
  281.               19        Pin 1 Return
  282.               20        Pin 2 Return
  283.               21        Pin 3 Return
  284.               22        Pin 4 Return
  285.               23        Pin 5 Return
  286.               24        Pin 6 Return
  287.               25        Pin 7 Return
  288.               26        Pin 8 Return
  289.               27        Pin 9 Return
  290.               28        Pin 10 Return
  291.               29        Pin 11 Return
  292.               30        Pin 31 Return
  293.               31            (Not) Prime                     Logic 0 pulse to reset printer *
  294.               32            (Not) Fault                       Logic 0 to indicate printer fault *
  295.  
  296.               * Pins not always used or provided
  297.  
  298.  
  299.  
  300.  
  301. General Purpose Instrument Bus
  302. qqqqqqqqqqqqqqqqqqqqqqq
  303.  
  304. The GPIB a a special high-speed interface designed for instrumentation purposes as defined in the IEEE 488 standard. Although unsupported by the Mac you may be able to operate the bus with a GPIB controller connected via an RS-232 interface.
  305.  
  306. The interface uses eight multi-purpose bidirectional data lines and a number of control lines wired onto a 24 way connector as follows:-
  307.  
  308.  
  309.               Pin        Code             Function                                    
  310.  
  311.               1          DIO1         Data Line 1
  312.               2          DIO2         Data Line 2
  313.               3          DIO3         Data Line 3
  314.               4          DIO4         Data Line 4
  315.               5          EOI           End Or Identify (end of transfer)
  316.               6          DAV          Data Valid
  317.               7          NRFD         (Not) Ready For Data
  318.               8          NDAC        (Not) Data Accepted
  319.               9          IFC               Interface Clear (initialises)
  320.             10          SRQ          Service Request
  321.             11          ATN          Attention
  322.             12          SHIELD      Screen
  323.             13           DIO5         Data Line 5
  324.             14           DIO6         Data Line 6
  325.             15           DIO7         Data Line 7
  326.             16           DIO8         Data Line 8
  327.             17           REN           Remote Enable
  328.             18-24     GN D          Ground
  329.  
  330.  
  331.  
  332.  
  333. Expansion Slots
  334. qqqqqqqqqqqq
  335.  
  336.  
  337. An expansion slot provides a fast link to a Mac‚Äôs processor. It can accommodate an expansion card for enhanced video, modems, sound processors or Ethernet.
  338.  
  339.  
  340. Processor Direct Slot (PDS)
  341. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  342.  
  343. This is the oldest form of expansion slot. It uses a special 96 pin DIN connector to give direct access to the data and address lines of a 680x0 processor. Different versions are used for each type of processor ‚Äî you‚Äôre stuck if you‚Äôve the wrong card for your machine! The following table summarises some of the varieties of PDS used:-
  344.  
  345.  
  346.               Computer       PDS Name         
  347.  
  348.               Mac SE          SE-Bus
  349.               SE/30           030 Direct Slot
  350.               Portable        PDS
  351.               LC                 020 Direct Slot
  352.  
  353.  
  354. The 680x0-based Mac IIs and Quadras have their own varieties of PDS as well as NuBus slots (see below). Some machines accept a NuBus adaptor to convert from PDS to NuBus ‚Äî but these only take small NuBus cards. If you need Ethernet you could fit an Ethernet NuBus card with such an adaptor. Otherwise your only option is connect an external Ethernet box into your SCSI port ‚Äî hardly elegant, but it works!
  355.  
  356. Some Macs can accommodate an accelerated graphics card in their PDS slot.
  357.  
  358.  
  359.  
  360. Digital Audio Video (DAV)
  361. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  362.  
  363. This internal connector is provided on the motherboard of some AV Macs for an MPEG video card, or similar. Some AV models have a card already fitted.
  364.  
  365.  
  366.  
  367. NuBus
  368. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  369.  
  370. The standard slot for later 680x0 Macs, introduced with the Mac II. The cards talk to the Mac‚Äôs processor at 3 MB/s but correspond with each other at over 30 MB/s. With suitable hardware, up to 15 cards can be addressed using numbers from 0 to 14 ‚Äî address 15 is used by the Mac itself.
  371.  
  372. Macs can‚Äôt accept the larger NuBus cards used in other machines. but an external NuBus expansion rack can be fitted to additional cards that won‚Äôt fit inside the machine.
  373.  
  374. The Quadra 700 and 900 can use cards that partially implement the NuBus 90 standard. These work at double speed compared with older NuBus cards ‚Äî but only if all the cards in the machine are the newer type. If not, the entire bus reverts to the original speed.
  375.  
  376. There‚Äôs a wide range of networking cards available in NuBus format.
  377.  
  378.  
  379.  
  380. Peripheral Component Interconnect (PCI)
  381. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  382.  
  383. PCI is the standard for PowerMacs ‚Äî the 8500 has three slots, the 9500 has four. The card actually uses an enhanced version of PCI known as Apple RISC Bus (ARBus). Typical cards provide co-processors, multiple-processor arrays, video compression or graphics acceleration. Such cards come in 7 or 12 inch versions ‚Äî not all models accept the larger size. In some instances the larger cards must be fitted into particular slots.
  384.  
  385. Some Mac clones have a riser to allow simultaneous operation of NuBus and PCI cards.
  386.  
  387.  
  388.  
  389. PC Cards (PCMCIA)
  390. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  391.  
  392. This standardised expansion system, using a 68-pin connector, is used in the Newton Personal Digital Assistant (PDA), more recent PowerBooks and portable PCs. 
  393.  
  394. The cards come in three types. The PowerBook 190 accepts all three types but has only one 
  395. slot. The PowerBook 5300 accommodates two Type II cards or one Type III card ‚Äî the latter goes in the lower slot and stops you inserting a second card.
  396.  
  397. Varieties of card include:-
  398.  
  399.      
  400. ¬†                                                                                  Serial Port/Modem: a serial port or modem. 
  401.                                                                                   The serial port can be used with an extra 
  402.                                                                                   printer or external modem. Cellular modem 
  403.                                                                                   cards are also available.
  404.                                                                                   Network: for interfaces such as Ethernet.
  405.                                                                                   Memory: adds memory similar to RAM disk.
  406.                                                                                   Mass Storage: a miniature hard disk.
  407.  
  408.  
  409. ¬†                                                                                Multifunction: a combination card, such as a 
  410.                                                                                   video output plus Ethernet interface.
  411.                                                                                   SCSI: interface used for external drives etc.
  412.                                                                                   Video: for an external monitor screen.
  413.                                                                                   Parallel Port: for Centronics printers etc.
  414.                                                                                   AIMS: special memory for storing photos.
  415.  
  416. With the PowerBook 5300 any storage card can be ejected by trashing its icon ‚Äî and can be replaced by another drive card whilst the Mac is running!
  417.  
  418.  
  419.  
  420. Special Slots
  421. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  422.  
  423. Some computers have slots dedicated to a particular feature ‚Äî they often vary between different models. PowerMacs can use a special slot for communications, video inputs or a TV tuner bay, whilst a PowerBook uses internal slots for a video output or Ethernet card.
  424.  
  425.  
  426.  
  427. ¬©Ray White. All Rights Reserved 1997